libxl_set_memory_target: retain the same maxmem offset on top of the current target
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 2 Mar 2015 15:35:15 +0000 (15:35 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 2 Mar 2015 16:28:23 +0000 (16:28 +0000)
commit0c029c4da2169159064568ef4fea862a5d2cd84a
treeaf6b4ea2c3d699db8ab2e90e96e671ca57883540
parented6dd1db77960c59780399e0b305c1b50ca6f02c
libxl_set_memory_target: retain the same maxmem offset on top of the current target

In libxl_set_memory_target when setting the new maxmem, retain the same
offset on top of the current target. In the future the offset will
include memory allocated by QEMU for rom files.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl.c